﻿/**
 *
 * @file BrowserTableHandlerLoadMonopole.h
 * @brief  单极子载荷表格处理器
 * @author wangning (2185896382@qq.com)
 * @date 2024-01-23
 *
 */
#ifndef _WIDGET_TABLEHANDLER_LOAD_Monopole_H___
#define _WIDGET_TABLEHANDLER_LOAD_Monopole_H___

#include "BrowserTableHandlerLoadAbstract.h"

namespace GUI
{
    /**
     * @brief 单极子载荷表格处理器
     * @author wangning (2185896382@qq.com)
     * @date 2024-12-26
     */
    class GUIWIDGETAPI BrowserTableHandlerLoadMonopole :
        public BrowserTableHandlerLoadAbstract
    {
    public:
        using BrowserTableHandlerLoadAbstract::BrowserTableHandlerLoadAbstract;
        virtual ~BrowserTableHandlerLoadMonopole() = default;
        /**
         * @brief 更新表格，包含头与数据
         * @author wangning (2185896382@qq.com)
         * @date 2024-12-10
         */
        void updateTable() override;
        /**
        * @brief 更新表格数据
        * @author wangning (2185896382@qq.com)
        * @date 2024-12-10
        */
        void updateData() override;

    protected:
        /**
         * @brief 获取载荷表格操作器
         * @return EventOper::OperAbstractLoad*
         * @author wangning (2185896382@qq.com)
         * @date 2024-12-10
         */
        EventOper::OperAbstractLoad* getLoadOper() override;
        /**
         * @brief 是否允许批量修改
         * @author wangning (2185896382@qq.com)
         * @date 2024-12-10
         */
        bool enableAttriSet() override;
    };
}
#endif
